home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Misc / Queens / Source / English.lproj / Queens.nib / data.nib (.txt) < prev   
Encoding:
NeXT TypedStream Data  |  1993-11-09  |  5.8 KB  |  89 lines

  1. streamtyped
  2. IBObjectData
  3. Object
  4. CustomObject
  5. Application
  6. ButtonCell
  7. ActionCell
  8.     Helvetica
  9. Matrix
  10. Control
  11.     Responder
  12.     TextField
  13. TextFieldCell
  14. Steps:
  15. Solutions:
  16. Button
  17. Pause at solution
  18. NXImage
  19. NXswitch
  20.     NXswitchH
  21. @:@iiii
  22. [64@]
  23. NXCachedImageRep
  24. NXImageRep
  25. iisssss
  26. iiiiii
  27. ff@@#::s
  28. WindowTemplate
  29. iiii***@s@
  30. Panel
  31. Eight Queens Puzzle
  32. by Peter Kron
  33. ScrollView
  34. ClipView
  35. ciifffcfffs
  36. [842c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
  37. \margl40
  38. \margr40
  39. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f0\b0\i0\ulnone\fs24\fc0\cf0 This app searches for solutions to the classic 
  40. \b Eight Queens Puzzle
  41. \b0 , in which the challenge is to place eight queens on a chessboard such that none is attacking any other.\
  42. As can be seen from the source, there is a simple recursive algorithm for placing a queen on a row given the columns containing queens in the rows above.\
  43. You can sit back and watch as it scans the rows.\
  44. \b Acknowledgements:\
  45. \b0 I grabbed the queen icon from the Demo Chess program.\
  46. My son, Michael, challenged me to write this program.\
  47. \b Bugs:\
  48. \b0 Printing always shows the queen on a white square, since the transparency of the icon is ignored.\
  49. \b Peter_Kron@corona.com
  50. NXCursor
  51. NXibeam
  52. Scroller
  53. _doScroller:
  54. @@@ffsd
  55. MenuCell
  56. Info...i
  57. Motori
  58. Pausei
  59. Page Layout...i
  60. Print...i
  61. Hidei
  62. Quiti
  63. QueensController
  64. Window
  65. MenuTemplate
  66. *@*@ccc
  67. Queensj
  68. FontManager
  69. MyWindow
  70. Font Manager
  71. File's Owner
  72. MainMenu
  73. [12@]
  74. IBControlConnector
  75. IBConnector
  76. hide:
  77. terminate:
  78. IBOutletConnector
  79. board
  80. step:
  81. motor:
  82. stepsDisplay
  83. solutionsDisplay
  84. pause:
  85. printPSCode:
  86. runPageLayout:
  87. solutionPause
  88. orderFront:
  89.